#include <gflags/gflags.h>
#include <iostream>

DEFINE_string(server_ip, "127.0.0.1", "这是服务器的监听地址，格式为[0.0.0.0]");
DEFINE_int32(server_port, 8888, "这是服务器的监听端口，格式为[8888]");
DEFINE_bool(debug_enable, true, "是否启动调试模式，格式为[true/false]");

int main(int argc, char *argv[])
{
    google::ParseCommandLineFlags(&argc, &argv, true);

    std::cout << FLAGS_server_ip << std::endl;
    std::cout << FLAGS_server_port << std::endl;
    std::cout << FLAGS_debug_enable << std::endl;
}
